﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Engine.Dtd.Schema {
    /// <summary>
    /// Qualifies the occurrence of a child element within a content model group.
    /// </summary>
    public enum DElementOccurrence {
        /// <summary>
        /// The element is required and must occur only once.
        /// </summary>
        OnlyOnce,
        /// <summary>
        /// The element must occur at least once or more times.
        /// </summary>
        OneOrMore,
        /// <summary>
        /// The element is optional and can be repeated.
        /// </summary>
        ZeroOrMore,
        /// <summary>
        /// The element is optional and must occur once at most.
        /// </summary>
        ZeroOrOne,
        }
    }
